import Ellipsis from "./components/Ellipsis/index";
export default {
    props:{
        maxLength:{
            type:Number,
            default:()=>10
        },
        text:{
            type:[Number,String,Boolean],
            default:()=>''
        }
    },
    render(){
        return (
            <Ellipsis length={this.maxLength*2} tooltip>
                {this.text}
            </Ellipsis>
        )
    }
}
